package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 故障记录对象 tb_fault_logs
 * 
 * @author ruoyi
 * @date 2023-07-07
 */
public class TbFaultLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long faultIds;

    /** 车辆VIN */
    @Excel(name = "车辆VIN")
    private String carVin;

    /** 故障 */
    @Excel(name = "故障")
    private String faultName;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    public void setFaultIds(Long faultIds) 
    {
        this.faultIds = faultIds;
    }

    public Long getFaultIds() 
    {
        return faultIds;
    }
    public void setCarVin(String carVin) 
    {
        this.carVin = carVin;
    }

    public String getCarVin() 
    {
        return carVin;
    }
    public void setFaultName(String faultName) 
    {
        this.faultName = faultName;
    }

    public String getFaultName() 
    {
        return faultName;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("faultIds", getFaultIds())
            .append("carVin", getCarVin())
            .append("faultName", getFaultName())
            .append("startTime", getStartTime())
            .toString();
    }
}
